package com.supcon.exchangedata.pojo.entity.oracle.sync;

import lombok.Data;

import javax.persistence.*;
import java.time.LocalDateTime;

@Entity
@Data
@Table(name = "CT_GJ_BIKE_TRADE")
public class CtGjBikeTrade {

    @Basic
    @Column(name = "ID")
    @Id
    private Long id;


    /**
     * 订单编号
     */
    @Column(name = "TRIPID")
    private String tripId;

    /**
     * 车辆编号
     */
    @Column(name = "BIKEID")
    private String bikeId;

    /**
     * 取车车站名称
     */
    @Column(name = "RENTSTATIONNAME")
    private String rentStationName;

    /**
     * 还车车站名称
     */
    @Column(name = "RESTORESTATIONNAME")
    private String restoreStationName;

    /**
     * 取车时间
     */
    @Column(name = "RENTDATE")
    private String rentDate;

    /**
     * 还车时间
     */
    @Column(name = "RESTOREDATE")
    private String restoreDate;

    /**
     * 业务产生的时间
     */
    @Column(name = "BIZ_TIME")
    private LocalDateTime bizTime;
}
